package org.example.netty.test.bio;

/**
 * @author zp
 * @version 1.0
 * @description: NIO 配置类
 * @date 2023/2/19 13:45
 */
public class NioDemoConfig {
    /**
     * @description:  测试buff 大小
     * @author zp
     * @date: 2023/2/20 19:11
     */
    public static final int SERVER_BUFFER_SIZE = 1024;

    /**
     * @description:  测试的socket 端口
     * @author zp
     * @date: 2023/2/20 19:11
     */
    public static final int SOCKET_SERVER_PORT = 6666;

    /**
     * @description:  源文件的路径
     * @author zp
     * @date: 2023/2/20 19:12
     */
    public static final String FILE_RESOURCE_SRC_PATH = "1.txt";
    /**
     * @description:  拷贝文件的地址
     * @author zp
     * @date: 2023/2/20 19:18
     */
    public static final String FILE_RESOURCE_DEST_PATH = "2.txt";
    public static final String SOCKET_SEND_FILE = "1.txt";
    public static final String SOCKET_RECEIVE_FILE = "3.txt";
    public static final int SEND_BUFFER_SIZE = 1024;
}
